package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.PermissionGroup;


import cn.jobstart.enums.PermissionGroupShowFlagEnum;
import cn.jobstart.enums.PermissionGroupDelFlagEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:52
*    @description PermissionGroupDesc      权限组
*/
@Data
public class PermissionGroupDesc extends PermissionGroup {


    private String showFlagDesc;
    private String delFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=PermissionGroupShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=PermissionGroupDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

